package com.example.gybicycle.entity;

import com.example.gybicycle.common.entity.Entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Schema(name ="骑行")
public class MemberCycling extends Entity {
    @Schema(description = "订单id")
    private String id;
    @Schema(description = "骑行人ID")
    private String memberId;
    @Schema(description = "骑行人名称")
    private  String memberName;
    @Schema(description = "骑行人电话")
    private  String memberTelphone;
    @Schema(description = "自行车编号")
    private String bikeId;
    @Schema(description = "自行车类型")
    private String bikeType;
    @Schema(description = "开始位置")
    private String startPoint;
    @Schema(description = "结束位置")
    private String endPoint;
    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @Schema(description = "历时")
    private String duration;
}